nw.Window.open('index.html', {
  width: 1000,
  height: 500,
}, function (_window) {
  _window.showDevTools()
})
